using System;
using System.Collections.Generic;

namespace Model.Database
{
    [Serializable]
    public partial class Power
    {
        public Power()
        {
            this.Roles = new List<Role>();
        }

        public string PowerId { get; set; }
        public string ParentId { get; set; }
        public string PowerName { get; set; }
        public string Url { get; set; }
        public bool IsPost { get; set; }
        public bool IsMenu { get; set; }
        public string MenuIcon { get; set; }
        public string ControllerName { get; set; }
        public string ActionName { get; set; }
        public string Description { get; set; }
        public Nullable<int> Sort { get; set; }
        public Nullable<System.DateTime> AddTime { get; set; }
        public Nullable<System.DateTime> ModifyTime { get; set; }
        public virtual ICollection<Role> Roles { get; set; }
    }
}
